Automated wash method for a progressing cavity pump system

ABSTRACT

A method of automatically washing a well casing of a progressing cavity (PC) pump system. The method includes disabling, via a controller, a normal speed control of a progressing cavity (PC) pump of the PC pump system, and closing, via the controller, a gas flow valve to stop upward fluid flow in an annulus of the well casing. The method further includes opening a wash valve to allow fluid from the wash fluid source into the well casing. Upon wash fluid accumulation within the annulus, the method further includes increasing the speed of the pump to begin flushing the well casing, and closing the wash valve.

FIELD OF THE DISCLOSURE

The present invention relates generally to progressing cavity pumps, andmore specifically, to an automated wash system and method for use with aprogressing cavity pump (PCP) system.

BACKGROUND OF THE DISCLOSURE

Some oil and gas wells produce sand and silt along with produced liquid.Progressing cavity pumps (PCPs) are particularly suited to theseapplications because they can mobilize such fluid mixtures withoutsustaining significant damage. Although PCPs can typically move dirtyfluid through the pump, the solid material must still be conveyed allthe way to the surface, which in some cases is a distance of 1000 metersor more. It has long been understood that the solid particles will becarried to the surface by the liquid as long as the upward velocity ofthe surrounding liquid exceeds a particular critical velocity. If theliquid velocity falls below the critical velocity, solid particles willbegin to accumulate. If enough material settles in the productiontubing, a flow restriction is created. This restriction results inincreased torque requirement for the pump and can further decrease fluidvelocity. If the solid material accumulates at the top of the pump, itcan interfere with the rotation of an eccentric rotor pin and sucker roddrive string. The problem can gradually compound, resulting in asituation where the pump can no longer pump fluid to the surface. A wellin this final state is commonly termed “sanded up” or “silted up”.

Traditionally, oil and gas production operators often allow wells topump until an unusually high torque load is noted. In some cases, thesituation goes unnoticed and the well may “sand up.” In either case, anintervention is required. The intervention might involve manuallydumping liquid down the casing/tubing annulus and trying to pump at ahigher speed in an attempt to create flow in the regime of criticalvelocity. This procedure sometimes alleviates the problem, but, quitecommonly, a more elaborate intervention is needed. The enhancedintervention involves lifting a sucker rod string coupled to the PC pumpto disengage the PCP rotor from the stator. Because PC pumps are rarelyinstalled with a standing valve, this opens an unrestricted conduitwithin the tubing from the surface down to the pump intake. Fluid canthen be pumped down the tubing to reverse the flow of remaining solidmaterial down the tubing and out into the casing annulus. The rotor canthen be re-seated and pumping resumed.

Such interventions, however, are costly and result in considerableunproductive time for the well. In some cases, the action taken to clearthe well conduit can result in sand or silt being pushed into theproducing formation, which is an undesirable situation that mightdetract from the ultimate recovery of the well.

Considerations for Coalbed Methane Wells

Although solids accumulation in the production conduit is an undesirablesituation for any oil or gas well, it is especially problematic incoalbed methane wells. In coalbed methane production, the downtimeassociated with a “sand up” condition is particularly detrimental toproduction. When the well is placed back in pumping operation it maytake days before any gas production resumes. Coalbed methane wells arealso more difficult to keep clean because the water produced has a lowerviscosity than the oil produced by most oil wells. Because the criticalvelocity required to carry solids to the surface is inverselyproportional to liquid viscosity, significantly higher flow rates needto be maintained in coalbed methane wells to sustain a clean productionconduit. The situation for coalbed methane wells is particularlycompounded by the fact that water production from these wells declinesas the well continues to be pumped. In general, the water productionrate from these wells continuously declines while the gas productionrate increases. As a result, the producing formation is often providinginadequate quantities of water to sustain critical velocity through thepump and tubing.

One approach to alleviating this problem is to continuously injectsupplemental quantities of additional clean liquid at or near the pumpintake. With the reservoir liquid volume supplemented by this injectedvolume, the pump could be run at a higher rate. Using this technique,critical velocity could be continuously maintained within the tubing.For this type of operation, the liquid could simply be dumped down thecasing annulus and allowed to fall to the pump intake. Such an approachis sometimes utilized. But, again, coalbed methane wells pose aparticular problem for this technique. Since the casing annulus is usedas a production conduit for the gas phase, it is difficult to get theinjected liquid (water) to fall against the gas flow in the annulus.

In some installations a third conduit (in addition to tubing andcasing-tubing annulus) is installed in the well to facilitate continuousliquid injection. Hollow sucker rods are one means of providing anadditional conduit, but add significant cost and complexity to theinstallation.

A modification of the continuous dump procedure involves intermittentintroduction of a slug of liquid into the wellbore while simultaneouslyincreasing the pump rate. Such a procedure could be used to wash theaccumulated solids from the tubing. In order to inject the slug ofliquid, the casing flow valve would need to be temporarily closed toallow the liquid to fall to the bottom of the well. If the procedure isexecuted at the proper frequency, the tubing could be kept relativelyclean of solids accumulation. The procedure could be executed manuallyusing a water tank truck with pump and a human operator to perform allsteps in the procedure. Because of the time required to complete theprocedure on a single well, it is likely that one operator could onlywash four or five wells per day. In a small operation, this manualoperating approach might be acceptable.

SUMMARY OF THE DISCLOSURE

In accordance with a first exemplary aspect of the disclosure, anautomated wash system for use with a progressing cavity (PC) pump systemis disclosed. The PC pump system has a well casing with an annulus, aprogressing cavity (PC) pump disposed within the well casing, a motoroperatively coupled to the PC pump, a controller operatively coupled tothe motor, and a gas flow valve in communication with the annulus andoperatively coupled to the controller. The automated wash systemcomprises a wash fluid source adapted to be operably coupled to thecontroller and a wash valve in fluid communication with the wash fluidsource and the annulus of the well casing. The wash valve is adapted tocontrol the flow of wash fluid between the wash fluid source and theannulus and is operatively coupled to the controller. Upon receipt of acommand to initiate a wash cycle, the controller closes the gas flowvalve, opens the wash valve to enable wash fluid from the wash fluidsource to be directed into the annulus and increases a speed of the PCpump via a signal to the motor to effect cleaning of the well casing.

According to another exemplary aspect of the present disclosure, aprogressing cavity (PC) pump system comprises a well casing with anannulus, a progressing cavity (PC) pump disposed within the well casing,and a motor operatively coupled to the PC pump. A controller isoperatively coupled to the motor, and a gas flow valve is incommunication with the annulus of the well casing and disposed in afluid flow line. An automated wash system is operatively coupled to thecontroller and includes a wash fluid source and a wash valve in fluidcommunication with the wash fluid source and the annulus of the wellcasing. The wash valve is adapted to control the flow of wash fluidbetween the wash fluid source and the annulus and operably coupled tothe controller. Upon receipt of a command to initiate a wash cycle, thecontroller closes the gas flow valve to stop an upward flow of fluid inthe annulus of the well casing, opens the wash valve to allow fluid fromthe wash fluid source to be directed into the annulus, and increases aspeed of the PC pump via a signal to the motor to effect cleaning of thewell casing.

According to a further exemplary aspect of the present disclosure, amethod of automatically washing a well casing of a progressing cavity(PC) pump system is disclosed. The method includes initiating, via acontroller, a wash cycle of an automated wash system operably coupled tothe PC pump system, and disabling, via the controller, a normal speedcontrol of a progressing cavity (PC) pump of the PC pump system. Themethod further includes closing, via the controller, a gas flow valve tostop upward fluid flow in an annulus of the well casing, and initiating,via the controller, a wash fluid volume calculation process. The methodalso includes opening, via the controller, a wash valve to allow fluidfrom the wash fluid source into the annulus of the well casing, andinitiating, via the controller, a wash fluid volume recovery calculationprocess. The method still further includes, upon wash fluid accumulationwithin the annulus, increasing the speed of the pump to begin flushingthe well casing. In addition, the method includes maintaining theincreased speed of the pump until one or more of a preset wash timeexpires or an estimated wash volume has been exceeded, and closing thewash valve to complete washing of the well casing. Lastly, the methodincludes reopening, via the controller, the gas flow valve and resumingthe normal speed control of the PC pump.

In yet another exemplary aspect of the present disclosure, a method ofestimating an amount of wash fluid injected into a well casing of aprogressing cavity (PC) pump system to effect washing of the well casingis disclosed. The method comprises initializing, via a controller of thePC pump system, a wash volume to zero in response to closing of a gasflow valve to initiate wash cycle, and determining, via the controller,one of: (1) a flow rate of the wash fluid by one of a wash flow meter ora user-entered flow rate; or (2) an initial wash fluid volume in thewash fluid source by a level sensor of the wash fluid source. The methodfurther includes, upon expiration of a preset calculation period,calculating, via the controller, one of: (1) an incremental wash fluidvolume and adding the incremental wash fluid volume to an accumulatedvolume; or (2) a current wash fluid volume in the wash fluid sourcebased on a level of fluid sensed by the level sensor and subtracting,via the controller, the current wash fluid volume from the initial washfluid volume in the wash fluid source.

In another exemplary aspect of the present disclosure, a method ofautomatically measuring an amount of wash fluid volume recovered from awell casing of a progressing cavity (PC) pump system during washing ofthe well casing is also disclosed. The method comprises initializing,via a controller of the PC pump system, a recovered wash fluid volumevalue to zero upon opening a wash valve of the automated wash system toallow wash fluid from the wash fluid source into an annulus of the wellcasing, and determining, via the controller, a baseline flow rate via aflow line meter. The method further includes, upon expiration of apreset period of time, measuring, via the controller, a current flowrate of the fluid being pumped from the well casing, the current flowrate equal to a surface flow line rate. The method also includescalculating, via the controller, an incremental wash fluid volumerecovered, and determining, via the controller, a new wash fluid volumerecovered.

In accordance with yet another exemplary aspect of the presentdisclosure, another method of automatically washing a well casing of aprogressing cavity (PC) pump system is disclosed. The method comprisesdisabling, via the controller, a normal speed control of a progressingcavity (PC) pump of the PC pump system, and then closing, via thecontroller, a gas flow valve to stop upward fluid flow in an annulus ofthe well casing. The method also includes initiating, via thecontroller, a wash fluid volume calculation process, and opening, viathe controller, a wash valve to allow fluid from the wash fluid sourceinto the well casing. The method still further includes, upon wash fluidaccumulation within the annulus, increasing the speed of the pump, viathe controller, to begin flushing the well casing, and closing, via thecontroller, the wash valve.

In further accordance with any one or more of the exemplary aspects, theautomated wash system, the PC pump system, or any method of the presentdisclosure may include any one or more of the following furtherpreferred forms.

In some preferred forms, the system may further comprise a pump forpressuring wash fluid in the wash fluid source. The pump may be disposeddownstream the wash fluid source and operatively coupled to thecontroller, such that the pump is controlled by the controller via asignal. In addition, the system may further include a flow meterdisposed downstream the wash fluid source that is adapted measure thequantity of wash fluid being injected into the annulus of the wellcasing. The flow meter may be in communication with the controller toprovide a signal indicative of the measured quantity of the wash fluidbeing injected to the controller. Further, the system may include aspeed varying device coupled to the motor and adapted to control themotor via one or more of an electrical cable or a hydraulic line. Stillfurther, the speed varying device may be operatively coupled to thecontroller, and the controller may manage the speed of the speed varyingdevice via a signal. Moreover, the system may include a level sensordisposed in the wash fluid source.

In some other preferred forms, the PC pump may be in fluid communicationwith the fluid flow line, and the PC pump system may further include acasing valve in the fluid flow line. In addition, the system may includetubing coupled to the PC pump and disposed within the annulus, and aflow tee, such that fluid from the PC pump travels through the tubingand out of the flow tee. The system may further include a tubing flowmeter disposed downstream the flow tee, the tubing flow meter to measurefluid leaving the flow tee and traveling through the flow line.

In still some other preferred forms, the method may include whereininitiating a wash cycle is in response to one or more of: (1) apredetermined time is met; (2) a torque of the pump exceeds apredetermined high torque limit; or (3) a manual input to a workstationin communication with the controller. The method may also includecapturing a motor speed setting for normal speed control, via thecontroller, to enable the controller to reset the speed of the motor tothe captured motor speed setting for normal speed control uponcompletion of the wash cycle. Further, the method may includedetermining whether a fluid settling time has expired, and, uponexpiration of a fluid settling time, initiating the wash volumecalculation process.

In other preferred forms, the wash fluid volume calculation process ormethod may include: (1) initializing a wash volume to zero; (2)determining one of: (a) a flow rate of the wash fluid by one of a washflow meter or a user-entered flow rate; or (b) an initial wash fluidvolume in the wash fluid source by a level sensor; and (3) uponexpiration of the calculation period time, calculating one of: (a) anincremental wash fluid volume and adding the incremental wash fluidvolume to an accumulated volume to obtain an estimated amount of washfluid volume injected into the annulus of the well casing; or (b) acurrent wash fluid volume based on a level of fluid sensed by the levelsensor and subtracting the current wash fluid volume from the initialwash fluid volume in the wash fluid source.

In still other preferred forms, opening, via the controller, the washvalve to allow fluid from the wash fluid source into the annulus of thewell casing may include one of allowing time for the wash valve tocomplete a stroke cycle and starting a pump disposed downstream the washfluid source to begin wash fluid flow into the annulus of the wellcasing. In addition, the wash fluid volume recovery calculation processmay comprise: (1) initializing a recovered wash fluid volume value tozero; (2) determining a baseline flow rate via a flow line meter; (3)determining if a calculation period time has expired; (4) uponexpiration of the calculation period time, measuring a current flow rateof the fluid being pumped from the well casing, the current flow rateequal to a surface flow line rate; (5) calculating an incremental washfluid volume recovered that includes subtracting the baseline flow ratefrom the current flow rate; and (6) determining a new wash fluid volumerecovered by adding the calculated incremental wash fluid volumerecovered to the previously calculated wash fluid volume recovered untiltermination by the controller.

In addition, the method may include initiating a liquid fall time uponinitiating the wash fluid volume recovery calculation and determiningthe liquid fall time has expired to account for a time lag between abeginning of the injection of wash fluid and when the wash fluidaccumulates in a downhole of the well casing. Further, the method mayinclude terminating, via the controller, the wash volume calculationafter the wash valve is closed. Still further, the method may includereopening, via the controller, the gas flow valve to resume normal flowof fluid, such as gas, which occurs upon determining a liquid fall timehas expired. The method may also include maintaining an increased pumpspeed until either a post-wash pumping time has expired or the washfluid volume recovery calculation exceeds an estimated wash fluid volumeinjected and then terminating the wash fluid volume recovery calculationprocess. Lastly, the method may include, upon termination of the washfluid volume recovery calculation process, returning, via thecontroller, the PC pump to a normal speed control.

Additional optional aspects and features are disclosed, which may bearranged in any functionally appropriate manner, either alone or in anyfunctionally viable combination, consistent with the teachings of thedisclosure. Other aspects and advantages will become apparent uponconsideration of the following detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

The Figures described below depict various aspects of the system andmethods disclosed therein. It should be understood that each figuredepicts an example of a particular aspect of the disclosed system andmethods, and that each of the figures is intended to accord with apossible example thereof. Further, wherever possible, the followingdescription refers to the reference numerals included in the followingfigures, in which features depicted in multiple figures are designatedwith consistent reference numerals.

There are shown in the drawings arrangements which are presentlydiscussed, it being understood, however, that the present examples arenot limited to the precise arrangements and instrumentalities shown,wherein:

FIG. 1 is a schematic view of an automated wash system for use with aprogressing cavity pump system in accordance with one aspect of thepresent disclosure;

FIG. 2 is a block diagram depicting an automated wash method for usewith the progressing cavity pump system depicted in FIG. 2;

FIG. 3 is a block diagram depicting a wash volume calculation method ofthe automated wash method of FIG. 2; and

FIG. 4 is a block diagram depicting a wash volume recovery calculationmethod of the automated wash method of FIG. 2.

DETAILED DESCRIPTION OF THE DISCLOSURE

Generally, an automated wash system for use with a progressing cavity(PC) pump system is disclosed. The automated wash system includes a washfluid source that is communicably and operatively coupled to acontroller of the PC pump system, such that the wash fluid source isresponsive to signals and/or commands from the controller. The automatedwash system further includes a wash valve in fluid communication withthe wash fluid source and an annulus of a well casing of the PC pumpsystem. The wash valve controls the flow of wash fluid between the washfluid source and the annulus. So configured, upon receipt of a commandto initiate a wash cycle, the controller estimates an amount of washfluid from the wash fluid source that has been injected into theannulus. The controller then automatically opens the wash valve toenable a preset amount of wash fluid from the wash fluid source to bedirected into the annulus, and increases a speed of the PC pump via asignal to a motor operatively coupled to the PC pump to effect cleaningof the well casing.

Referring now to FIG. 1, an automated wash system 10 for use with aprogressing cavity (PC) pump system 20 is depicted. The PC pump system20 includes a well casing 22 with an annulus 24 and a processing cavity(PC) pump 26 disposed within the annulus 24 of the well casing 22. Inthis example, the PC pump 26 is installed on an end of tubing 25 alsodisposed within the annulus 24 of the well casing. A sucker rod string28 connects the PC pump 26 to a motor 30 disposed at a surface above thePC pump 26, for example, which may be referred to as a top drive system.As one of ordinary skill in the art will appreciate, the motor 30 mayalternatively be installed downhole, such as below a surface above thePC pump 24 or within the annulus of 24 of the well casing 22, as in anElectrical Submersible Processing Cavity Pump (ESPSP), and still fallwithin the scope of the present disclosure.

The motor 30 is controlled by a speed varying device 32. The speedvarying device 32 may be one of a variable speed electric drive or ahydraulic pump with speed adjustment capability. The speed varyingdevice 32 is operatively and communicably coupled to the motor 30 via anelectrical cable 34 or one or more hydraulic lines 35.

The PC pump system 20 further includes a controller 36. As depicted inFIG. 1, the controller 36 is communicably coupled to the speed varyingdevice 32 via one or more of an electrical cable 38 or a wirelessnetwork. The controller 36 may send a command to the speed varyingdevice 32, for example, via a signal to operate and/or control the speedof the motor 30 and, thus, the PC pump 26. In one example, thecontroller 36 includes a transmitter 37, a receiver 39, a processor 41,a memory 43, an input 45, and a network interface 47, as described morebelow.

In some examples, a flow line meter 40 is installed in the PC pumpsystem 20 and the controller 36 is operatively and communicably coupledto the flow line meter 40 via one of at least one electrical cable or awireless network 42. As a result, an output of the flow line meter 40,for example, may be transmitted to the controller 36 via a flow linemeter signal 42 a.

The PC pump system 20 may still further include a casing valve 44 thatis connected to the annulus 24 of the well casing 22 and is disposedwithin a fluid flow line 46, such as a gas flow line. In addition, a gasflow valve 48 is also disposed within the fluid flow line 46 downstreamthe casing valve 44. Further, another casing valve 78 may be connectedto the annulus 24 of the well casing 22 on a side opposite the othercasing valve 44, as further depicted in FIG. 1. The casing valve 78 mayalso be disposed within the fluid flow line 46. In other examples, thecasing valve 78 may not be connected to any fluid flow line.

Under normal operating conditions, a produced fluid, such as gas,separates from a liquid downhole in the annulus 24 of the well casing 22and flows up the annulus 24, through the casing valve 44 and the gasflow valve 48, and out to the gas flow line 46. Fluid also producedthrough the PC pump 26 travels or flows up the tubing 25 and out a flowtee 50. In some cases, and as noted, the flow meter 40 is installeddownstream the flow tee 50, as depicted in FIG. 1, and measures fluidleaving the flow tee 50 and traveling through the fluid flow line 46.

Still referring to FIG. 1, and as noted, the PC pump system 20 isoperatively coupled to the automated wash system 10. More specifically,the automated wash system 10 includes a wash fluid source 60 that iscommunicably coupled to the controller 36 of the PC pump system 20. Thewash fluid source 60 supplies liquid, such as wash fluid, that is usedfor the washing process, as described more below, and may includemultiple fluid sources. In one example, the wash fluid source 60 is areservoir of clean liquid. In another example, the wash fluid source 60is a tank.

Depending upon the fluid source and the pressure of the flowing gas orfluid, for example, a pump 62 might be included, and in some cases,required, to pressurize the liquid from the wash fluid source 60. Asdepicted in FIG. 1, the pump 62 is disposed downstream the wash fluidsource 60 and is also communicably coupled to the controller 36 of thePC pump system 20 via an electrical cable 66, for example. As such, thecontroller 36 is able to control the state of the pump 62 via a signal67, for example, that travels along the electrical cable 66 between thecontroller 36 and the pump 62.

If the pump 62 is not included, the controller 36 may be directlycoupled to the wash fluid source 60 by the electrical cable 66, forexample. In that case, the controller 36 calculates an amount of washfluid using a level gauge or a level sensor 61 disposed in a wash fluidvessel or a tank of the wash fluid source 60. More specifically, thecontroller 36 can relate the change in liquid level within the washfluid vessel or tank of the wash fluid source 60 using the level sensor61, for example, to estimate the wash fluid volume, as explained morebelow relative to FIG. 3.

The automated wash system 10 also includes a wash valve 64 in fluidcommunication with and disposed downstream the wash fluid source 60. Thewash valve 64 may also be in fluid communication with the casing valve44 in the fluid flow line 46, such as the gas flow line, and the annulus24 of the well casing 22 of the PC pump system 20. Alternatively, thewash valve 64 may be in fluid communication with an alternative casingvalve 78 and the annulus 24 of the well casing 22 of the PC pump system20. So configured, the wash valve 64 controls the flow of liquid, suchas the wash fluid between the wash fluid source 60 and the annulus 24.In addition, and as also depicted in FIG. 1, the wash valve 64 is alsooperatively coupled to the controller 36 of the PC pump system 20 viaone or more of an electrical cable 69 or wireless network, for example.Thus, the controller 36 also controls the operation of the wash valve 64via one or more signals via the electrical cable or wireless network,for example.

In one example, upon receipt of a command to initiate a wash cycle ofthe automated wash system 10, the controller 36 of the PC pump system 20closes the gas flow valve 48 to stop an upward flow of fluid in theannulus 24 of the well casing 22 during normal operation of the PC pumpsystem 20. The controller 36 then automatically estimates an amount ofwash fluid from the wash fluid source 60 that has been injected into theannulus 24 of the well casing 22. Next, the controller 36 automaticallyopens the wash valve 64 via the signal 69 to enable fluid, such as washfluid, from the wash fluid source 60 to be directed to and flow to theannulus 24. In addition, the controller 36 also automatically increasesthe speed of the PC pump 26 via a signal 38 to the motor 30 by way ofthe speed varying device 32 coupled to the motor 30 to effect cleaningone or more of the well casing 22, the pump 26 and tubing 25, asexplained more below.

In some examples, and as depicted in FIG. 1, a check valve 74 isdisposed downstream the wash valve 64 and prevents any fluid fromflowing toward the wash valve 64 during normal operation of the PC pumpsystem 20. In addition, and in other examples, a flow meter 76 isoptionally disposed downstream the wash fluid source 60 and measures aquantity of wash fluid being injected into the annulus 24 of the wellcasing 22. Like the other components of the automated wash system 10,the flow meter 76 is also operatively and communicably coupled to thecontroller 36 of the PC pump system 20 via one or more of an electricalcable 75 or a wireless network. In one example, flow meter 76 provides asignal to the controller 36, the signal indicative of a measuredquantity of the wash fluid being injected into the controller 36.

As also depicted in FIG. 1, a workstation 21 may be communicably coupledto the controller 36 via one or more of a wireless connection or anelectrical connection, for example. In one example, the workstation 21includes a transmitter 23 to transmit one or more signals 29 to thereceiver 39 of the controller 36 to begin the wash cycle. Theworkstation 21 may also include a memory 27.

Referring now to FIG. 2, a flow chart depicting a method 100 ofautomatically washing the well casing 22 of the PC pump system 20 isprovided. More specifically, at block 102, a wash cycle is triggered,resulting in the controller 36 receiving a command, such as a signal, toinitiate a wash cycle of the automated wash system 10. In one example,the controller 36 continuously monitors a torque on the motor 30. Thistorque is typically inferred (e.g., not measured directly), by the speedvarying device 32. As such, the controller 36 is continuously monitoringthe torque via signal 38. When the torque value received by thecontroller 36 exceeds a preset, such as human entered set point ortarget value, the controller 36 determines that it is time to triggerthe wash cycle.

In yet another example, the wash cycle is manually triggered, such asmanually inputted on the workstation 21 (FIG. 1) communicably coupled tothe controller 36. Thus, upon manual input on the workstation 21 tobegin the wash cycle of the automated wash system 10, a transmitter 23of the workstation 21 transmits a signal to the receiver 39 of thecontroller 36 to begin the wash cycle. In another example, the washcycle may be manually triggered by an operator providing an input to alocal human-machine-interface (HMI), such as a keypad/display, orgraphical touchscreen device or other similar device that iscommunicating with the controller 36. In yet another example, the washcycle may be triggered via a different controller, such as aprogrammable logic controller (PLC), which may be supervising theoperation of controller 36 of the PC pump system 20. In addition, thewash cycle may be trigged by a momentary contact switch an operatorpresses. One of ordinary skill in the art will appreciate that stilladditional, various other methods of manually triggering the wash cyclemay be implemented and still fall within the scope of the presentdisclosure.

At block 104, and in response to initiation of the wash cycle of theautomated wash system 10, the controller 36 automatically disables thenormal speed control of the PC pump system 20. Next, at block 106, thegas flow valve 48 is closed to stop upward flow in the annulus 24, forexample.

At block 108, the controller 36 captures, e.g., one or more of detectsand saves, a current speed setting of the motor 30 so that thecontroller 36 can reset a speed command at the end of the wash cycle tothe captured speed setting of the motor 30, for example. In one example,a speed of a downhole area of the PC pump 26 equals a hold speed of thespeed setting of the motor 30. The controller 36 then captures and savesthis hold speed to the memory 43 of the controller 36 for use at a latertime.

Next, at block 110, the controller then waits for a predetermined periodof time to allow fluid, such as gas, flow to settle. Said another way,the controller 36 waits for a period of time to allow fluid flow in theannulus 24 of the well casing 22 to settle after closing the casingvalve 44. In one example, a gas setting time is set for a period of timeand controller 36 waits until this period of time has expired afterclosing the gas flow valve 48. The period of time may be 10 seconds or aperiod of time greater or less than 10 seconds and still fall within thescope of the present disclosure.

At block 112, the controller 36 of the PC pump system 20 automaticallyinitiates a wash volume calculation process 200, which includesestimating an amount of wash fluid which has been injected into theannulus 24 of the well casing 22, as explained more below relative toFIG. 3.

Next at block 114, the controller 36 automatically opens the wash valve64, allowing fluid to flow from the wash fluid source 60 into theannulus 24 of the well casing 22. In some cases the wash fluid needs tobe pressurized, and there are several methods of pressurizing the washfluid from the wash fluid source 60 including using a pump. In someexamples, the fluid from the wash fluid source 60 may be pumped andrecycled liquid or fluid, which has been processed through some sort ofseparation facility to remove solid material. In another example, andmore generally, the controller 36 needs to allow time for the wash valve64 to complete its stroke cycle and then starts a surface pump, such aspump 62, to begin liquid flow into the annulus 24. More specifically,and in one example, at block 116 the controller 36 determines if apreset time of a valve stroke time has expired. If no, the controller 36continues to wait until the preset time is met. If yes, the controller36 starts the wash pump 62, if the wash pump 62 is being used.

At block 120, the controller automatically initiates a wash fluid volumerecovery calculation process 300, which includes measuring an amount ofwash fluid volume recovered, as explained more below relative to FIG. 4.Upon initiation of the wash fluid volume recovery calculation process300, the controller 36 determines if a preset period of time of a liquidfall time has expired in block 122 to account for a time lag between thebeginning of an injection and when the liquid, such as the wash fluid,begins to accumulate downhole. This time lag is dependent upon certaincharacteristics of the wall casing 22, such as wellbore deviation,measured depth, and vertical depth of a pump intake, for example. In oneexample, a value of sixty seconds is typically sufficient for a verticalwell with a depth of approximately 1000 meters. Of course, one ofordinary skill in the art will understand that times greater or lessthan sixty seconds may also be set and still fall within the scope ofthe present disclosure. For example, more time is required for deeperwells and more deviated wells. In addition, older wells typically haverougher casings due to corrosion, so the value is then increased. Whenin doubt, the time period should be overestimated for the preset time ofthe liquid fall timer in block 122 to prevent running the pump 26 dry,for example.

After the preset time has expired in block 122, and upon wash fluidaccumulation in the downhole of the annulus 24, the controller 36automatically increases the speed of the pump 26 of the PC pump system20 at block 124. Said another way, the controller 36 increases thedownhole speed of the pump 26 to begin flushing the well casing 22, thepump 26, and the tubing 25. The elevated pump speed is maintained untileither a preset wash time has expired or the calculated/estimated washfluid volume has reached a predetermined target wash volume.

More specifically, at block 126 the controller 36 first determines ifthe preset wash time has expired. If no, the controller 36 thendetermines if the wash fluid volume measured or estimated is greaterthan a preset target wash volume at block 128. If no, the controller 36maintains the increased speed and will again determine if the presetwash time has expired in block 126, for example, until either the timehas expired or the wash volume measured exceeds the target wash volumein block 128.

At block 130, after one of the targets in block 126 or block 128 (timeor volume) has been exceeded, the controller 36 then stops the pump 62of the automated wash system 10 (if the pump 62 is included) and closesthe wash valve 64. With no more wash fluid flowing into the well casing22, at block 132 the controller 36 then terminates the wash fluid volumecalculation.

At block 134, the controller 36 determines if a preset time on a liquidfall time has expired to allow the final portion of wash fluid liquid toreach a bottom area of the well casing 22. After the time has expired,the controller 36 opens the gas flow valve 48.

Upon reopening the gas flow valve 48, the elevated pump speed ismaintained for an additional period of time until either a presetpost-wash pumping time has expired in block 138 or the wash fluid volumerecovery calculation reaches a value exceeding the estimated wash fluidvolume injected in block 140. Said another way, the controller 36 firstdetermines if a preset post-wash pumping time has expired in block 138.If no, the controller 36 then determines if the wash fluid volumerecovery calculation has reached a value exceeding the estimated washfluid volume injected in block 140. If no, the controller 36 continuesto maintain an elevated speed of the pump 26 until one of the conditionsin block 138 or block 140 is met.

When either of the two conditions in block 138 or block 140 is met, thecontroller 36 terminates or ends the wash fluid volume recoverycalculation process 300 at block 142. At block 144, the controller 36then resets the control speed of the motor 30 to the hold speed of themotor 30 captured at the beginning of the wash cycle of the PC pumpsystem 20.

In block 146, the controller 36 is then returned to its normal speedcontrol processes and the wash cycle process awaits the next activationtrigger.

Referring now to FIG. 3, a flow chart depicting the wash volumecalculation method 200 is depicted. The method 200 includes a method ofestimating an amount of wash fluid that has been injected into theannulus 24 of the PC pump system 20 to effect washing of the well casing22, the pump 26, and the tubing 25. The wash fluid is from the washfluid source 60 of the automated wash system 10 coupled to the PC pumpsystem 20, as described above.

More specifically, at block 202, the wash fluid volume calculationmethod 200 begins via the controller 36, for example. Upon receiving acommand to begin the wash fluid volume calculation method 200, thecontroller 36 initializes the wash fluid volume to zero at block 204.

At block 206, it is determined if a wash flow meter is available. Saidanother way, in one example, the controller 36 determines whether a washflow meter, such as the flow meter 76, is available. If a flow meter isavailable, as in the example depicted in FIG. 1 in which the flow meter76 is disposed downstream the wash fluid source 60 and is operativelycoupled to the controller 36, the wash fluid flow rate is captured bythe controller 36 as the current flow meter rate at block 208. Saidanother way, the controller 36 captures the flow rate of the flow meter76 and uses this value as the wash fluid flow rate. If a flow meter 76is not available, it is first determined if a level sensor 61 (FIG. 1)of the tank of the wash fluid source 60 is available in block 210. Morespecifically, if the flow meter is not available, and the wash fluidsource 60 includes a tank whose contained liquid volume can becorrelated to the liquid level in the tank, the level sensor 61 (FIG. 1)may be used to estimate the amount of wash fluid injected into theannulus 24, as explained more below. If, however, the controller 36determines there is no level sensor 61, a user-entered flow rate, forexample, may be used by the controller 36 as the wash fluid flow rate atblock 212. In one example, if the pump 62 used to pressurize the washfluid from the wash fluid source 60 is of the positive displacementtype, the flow rate of the pump 62 can be estimated from manufacturer'sinformation, for example, and provided to the controller 36 via theworkstation 21, for example.

If the flow rate is measured 208 or estimated 212, the controller 36then starts a calculation period timer 214 and determines whether apreset calculation period has expired at block 216. In one example, acalculation period time includes a preset period of time in the range of1 second to 20 seconds. For example, if the flow meter 76 is included,setting this value to 1 second might provide a higher accuracy ofcalculated wash fluid volume. In another example, if the flow rate isestimated, e.g., there is no flow meter 76 and no level sensor 61, thereis no reason to set the calculation period time to a small value, as theresulting calculated wash fluid volume accumulation will be the same forall calculation periods. In any case, one of ordinary skill in the artwill understand that the preset calculation period may be outside of therange of 1 second to 20 seconds, such as greater than 20 seconds, forexample, and still fall within the scope of the present disclosure.

After the preset period of time of the calculation period time expires,the controller 36 calculates an incremental wash fluid volume at block218. More specifically, the flow rate value is mathematically integratedto obtain a new incremental wash fluid volume injected. In one example,the incremental wash fluid volume is calculated according to thefollowing equation:incremental wash fluid volume=wash fluid flow rate*calculation period.

In block 220, the incremental wash fluid volume is then added to theprevious accumulated wash fluid volume to obtain a new estimate of theinjected wash fluid volume. Said another way, the wash fluid volume iscalculated according to the following equation:wash volume=wash fluid volume+incremental wash fluid volume.

In block 222, the controller 36 then automatically determines whetherthe calculation method 200 should continue based on whether anytermination signal has been received, for example. If no terminationsignal has been received, the method 200 continues. If a terminationsignal has been received by the controller 36, for example, the method200 then ends at block 224.

Alternatively, and referring back to block 210, if no wash fluid meter76 is available but the level sensor 61 (FIG. 1) is available formeasuring liquid level within, for example, the wash fluid source 60,such as a tank, the calculation method 200 records the initial level inthe tank and correlates that level to an initial tank volume in block226. One of ordinary skill in the art will understand that thecorrelation between liquid level and tank volume can be performed bydifferent methods. Among these methods are simple algebraic equationswhich assume that the tank has a standard (for example cylindrical)shape. Other methods include strapping tables which provide a referencetable to obtain contained liquid volume versus tank level.

At block 228, the controller 36 then starts a calculation period timer228 and determines whether a preset calculation period has expired atblock 230. In one example, a calculation period time includes a presetperiod of time in the range of 20 seconds. One of ordinary skill in theart will understand that the preset calculation period may be greaterthan or less than 20 seconds, for example, and still fall within thescope of the present disclosure.

After the preset period of time of the calculation period time expires,the controller 36 calculates a current tank volume at block 232. Morespecifically, the current tank level is correlated to a contained liquidvolume. In block 234, the current liquid volume is then subtracted fromthe previous accumulated wash fluid volume to obtain a new estimate ofthe injected wash fluid volume. Said another way, the wash fluid volumeis calculated according to the following equation:wash volume=Initial volume in the tank−current wash fluid volume

In block 236, the controller 36 then automatically determines whetherthe calculation method 200 should continue based on whether anytermination signal has been received, for example. If no terminationsignal has been received, the method 200 continues. If a terminationsignal has been received by the controller 36, for example, the method200 then ends at block 224.

Referring now to FIG. 4, a flow chart depicting the wash fluid volumerecovery calculation method 300 is depicted. The method 300 includes amethod of automatically measuring an amount of wash fluid volumerecovered from the well casing 22 of the PC pump system 20 duringwashing of the well casing 22. At block 302, the method 300 is initiatedby the controller 36 of the PC pump system 20 upon opening the washvalve 64 (FIG. 1) to allow wash fluid to be injected into the annulus 24of the well casing 22.

At block 304, the recovered wash fluid volume is initialized to a valueof zero. Next, the controller 36 determines a baseline flow rate via aflow line meter, such as flow meter 76. More specifically, at block 306,the controller 36 first determines if a flow line meter is available. Ifno flow line meter is available, the method 300 terminates at block 322with an accumulated wash fluid volume of zero. If, however, a flow linemeter is available, the controller 36 captures a baseline flow rate fromthe flow meter 40 to establish the baseline amount of liquid beingpumped from the well. This baseline amount is being provided by theproducing oil/gas reservoir that is downhole the well casing 22. Whenthe motor/pump speed is changed, liquid is recovered at a higher ratethan before the change. It is desired to continue to pump the baselineamount of liquid (supplied by the producing formation) plus the amountof wash fluid being dumped into the well casing 22.

At block 310, it is determined, by the controller 36, for example, if asecond preset calculation period of time has expired. In one example,the second preset calculation period of time is five seconds, but one ofordinary skill in the art will appreciate that the value may be lessthan or greater than five seconds and still fall within the scope of thepresent disclosure.

At block 312, and upon expiration of this preset period of time, e.g.,the second preset calculation period of time, a current flow rate offluid or liquid being pumped from the well is measured using the signal42 a from the flow meter 40, such as by the controller 36, for example.The measured current flow rate is then equal to a surface flow linerate.

At block 314, the measured current flow rate is then used to calculatean incremental wash fluid volume recovered. To calculate the incrementalwash fluid volume recovered, the baseline flow rate is subtracted fromthe current flow rate and then multiplied by the calculation time. Saidanother way, the incremental recovered wash fluid volume is calculatedaccording to the following equation:Incremental wash fluid volume=(current flow rate-baseline flowrate)*calculation period

At block 316, a new wash fluid volume recovered is determined, such asby the controller 36, for example, by adding the incremental wash fluidvolume recovered to the previously calculated wash fluid volumerecovered until termination by the controller 36 of the PC pump system20. More specifically, the new wash fluid volume recovered is calculatedaccording to the following equation:New wash fluid volume recovered=previous wash fluid volumerecovered+incremental wash fluid volume recovered

At block 320, the controller 36 determines whether the wash fluid volumerecovery method 300 should continue based on whether any terminationsignal has been received, for example. If no termination signal has beenreceived, the process 300 continues. If a termination signal has beenreceived by the controller 36, for example, the process 300 then ends atblock 322.

As one of ordinary skill in the art will appreciate, the new automatedwash system 10 and method 100, for example, include several advantages.For example, no manual intervention is needed for the PC pump system 20to clean the well casing 22, the annulus 24, the pump 26 and/or thetubing 25. As a result, unproductive time in stopping and manuallycleaning the well casing 22 of the PC pump system 20 is eliminated andthe PC pump system 20 operates more efficiently. Moreover, the costsassociated with manual cleaning of the PC pump system 20 are alsoeliminated due to the automated wash system 10 and method 100.

For coalbed methane wells, the difficulty in getting the injectedliquid, such as water, to fall against the gas flow in an annulus of thewell is significantly reduced, if not eliminated, with the features ofthe new automated wash system and method described above. In addition,the installation of a third conduit to facilitate continuous liquidinjection for coalbed methane wells is also eliminated, reducing thecost and complexity of the overall system and increasing the efficiencyof the method of cleaning the well casing, for example.

Still further, while manual intermittent injection of liquid into a wellbore while simultaneously increasing a rate of a pump in PC pump systemshas been attempted, a water tank truck and human operator are typicallyrequired to effectuate such manual procedures, significantly increasingthe time to clean a single well and limiting this manual operation tosmall operation of wells. In contrast, the new automated wash system 10and method 100 eliminates the use of a water tank truck and humanoperator, decreasing the time to clean the well casing. In addition, thenew automated wash system 10 and method 100 (unlike current manualmethods) may effectively be used on large scale PC pump systems, such asPC pump systems having more than five PC pumps and associated wellcasings.

Throughout this specification, plural instances may implementcomponents, operations, or structures described as a single instance.Although individual operations of one or more methods are illustratedand described as separate operations, one or more of the individualoperations may be performed concurrently, and nothing requires that theoperations be performed in the order illustrated. Structures andfunctionality presented as separate components in example configurationsmay be implemented as a combined structure or component. Similarly,structures and functionality presented as a single component may beimplemented as separate components. These and other variations,modifications, additions, and improvements fall within the scope of thesubject matter herein.

As used herein any reference to “one example” or “an example” means thata particular element, feature, structure, or characteristic described inconnection with the embodiment is included in at least one embodiment.The appearances of the phrase “in one example” in various places in thespecification are not necessarily all referring to the same example.

Some examples may be described using the expression “coupled” and“connected” along with their derivatives. For example, some examples maybe described using the term “coupled” to indicate that two or moreelements are in direct physical or electrical contact. The term“coupled,” however, may also mean that two or more elements are not indirect contact with each other, but yet still cooperate or interact witheach other. The examples are not limited in this context.

As used herein, the terms “comprises,” “comprising,” “includes,”“including,” “has,” “having” or any other variation thereof, areintended to cover a non-exclusive inclusion. For example, a process,method, article, or apparatus that comprises a list of elements is notnecessarily limited to only those elements but may include otherelements not expressly listed or inherent to such process, method,article, or apparatus. Further, unless expressly stated to the contrary,“or” refers to an inclusive or and not to an exclusive or. For example,a condition A or B is satisfied by any one of the following: A is true(or present) and B is false (or not present), A is false (or notpresent) and B is true (or present), and both A and B are true (orpresent).

In addition, use of the “a” or “an” are employed to describe elementsand components of the embodiments herein. This is done merely forconvenience and to give a general sense of the description. Thisdescription, and the claims that follow, should be read to include oneor at least one and the singular also includes the plural unless it isobvious that it is meant otherwise.

This detailed description is to be construed as examples and does notdescribe every possible embodiment, as describing every possibleembodiment would be impractical, if not impossible. One could implementnumerous alternate embodiments, using either current technology ortechnology developed after the filing date of this application.

What is claimed:
 1. A method of automatically washing a well casing of aprogressing cavity (PC) pump system, the method comprising: initiating,via a controller, a wash cycle of an automated wash system operablycoupled to the PC pump system; disabling, via the controller, a normalspeed control of a progressing cavity (PC) pump of the PC pump system;closing, via the controller, a gas flow valve to stop upward fluid flowin an annulus of the well casing; opening, via the controller, a washvalve to allow fluid from the wash fluid source into the annulus of thewell casing; upon wash fluid accumulation within the annulus, increasingthe speed of the pump, via the controller, to begin flushing the wellcasing; maintaining the increased speed of the pump until one or more ofa preset wash time expires or an estimated wash volume has beenexceeded; closing, via the controller, the wash valve to completewashing of the well casing; and reopening, via the controller, the gasflow valve and resuming the normal speed control of the PC pump.
 2. Themethod of claim 1, wherein initiating a wash cycle is in response to oneor more of: (1) a predetermined time is met; (2) a torque of the pumpexceeds a predetermined torque limit; or (3) a manual input to aworkstation in communication with the controller.
 3. The method of claim1, further comprising capturing a motor speed setting for normal speedcontrol, via the controller, to enable the controller to reset the speedof the motor to the captured motor speed setting for normal speedcontrol upon completion of the wash cycle.
 4. The method of claim 1,further comprising determining whether a fluid settling time hasexpired, and, upon expiration of a fluid settling time, initiating thewash volume calculation process.
 5. The method of claim 1, furthercomprising initiating, via the controller, a wash fluid volumecalculation process, wherein the wash fluid volume calculation processincludes: (1) initializing a wash volume to zero; (2) determining oneof: (a) a flow rate of the wash fluid by one of a wash flow meter or auser-entered flow rate; or (b) an initial wash fluid volume in the washfluid source by a level sensor; and (3) upon expiration of a calculationperiod of time, calculating one of: (a) an incremental wash fluid volumeand adding the incremental wash fluid volume to an accumulated volume toobtain an estimated amount of wash fluid volume injected into theannulus of the well casing; or (b) a current wash fluid volume based ona level of fluid sensed by the level sensor and subtracting the currentwash fluid volume from the initial wash fluid volume in the wash fluidsource.
 6. The method of claim 1, wherein opening, via the controller,the wash valve to allow fluid from the wash fluid source into theannulus of the well casing comprises one of allowing time for the washvalve to complete a stroke cycle and starting a pump disposed downstreamthe wash fluid source to begin wash fluid flow into the annulus of thewell casing.
 7. The method of claim 1, further comprising initiating,via the controller, a wash fluid volume recovery calculation process,wherein the wash fluid volume recovery calculation process comprises:(1) initializing a recovered wash fluid volume value to zero; (2)determining a baseline flow rate via a flow line meter; (3) determiningif a calculation period time has expired; (4) upon expiration of thecalculation period time, measuring a current flow rate of the fluidbeing pumped from the well casing, the current flow rate equal to asurface flow line rate; (5) calculating an incremental wash fluid volumerecovered that includes subtracting the baseline flow rate from thecurrent flow rate; and (6) determining a new wash fluid volume recoveredby adding the calculated incremental wash fluid volume recovered to thepreviously calculated wash fluid volume recovered until termination bythe controller.
 8. The method of claim 1, further including initiating aliquid fall time upon initiating the wash fluid volume recoverycalculation and determining the liquid fall time has expired to accountfor a time lag between a beginning of the injection of wash fluid andwhen the wash fluid accumulates in a downhole of the well casing.
 9. Themethod of claim 1, further comprising terminating, via the controller,the wash volume calculation after the wash valve is closed.
 10. Themethod of claim 9, wherein reopening, via the controller, the gas flowvalve occurs upon determining a liquid fall time has expired.
 11. Themethod of claim 10, further comprising maintaining an increased pumpspeed until either a post-wash pumping time has expired or the washfluid volume recovery calculation exceeds an estimated wash fluid volumeinjected and then terminating the wash fluid volume recovery calculationprocess.
 12. The method of claim 11, upon termination of the wash fluidvolume recovery calculation process, returning, via the controller, thePC pump to a normal speed control.
 13. A method of estimating an amountof wash fluid injected into a well casing of a progressing cavity (PC)pump system to effect washing of the well casing, the wash fluid from awash fluid source of an automated wash system coupled to the PC pumpsystem, the automated wash system including a wash valve operativelycoupled to a controller of the PC pump system and the well casing, themethod comprising: initializing, via a controller of the PC pump system,a wash volume to zero in response to closing of a gas flow valve toinitiate a wash cycle; determining, via the controller, one of: (1) aflow rate of the wash fluid by one of a wash flow meter or auser-entered flow rate; or (2) an initial wash fluid volume in the washfluid source by a level sensor of the wash fluid source; and uponexpiration of a preset calculation period, calculating, via thecontroller, one of: (1) an incremental wash fluid volume and adding, viathe controller, the incremental wash fluid volume to an accumulatedvolume; or (2) a current wash fluid volume in the wash fluid sourcebased on level of fluid sensed by the level sensor and subtracting, viathe controller, the current wash fluid volume from the initial washfluid volume in the wash fluid source.
 14. The method of claim 13,further comprising determining, via the controller, whether a presetcalculation period has expired after one of the flow rate of the washfluid is determined or the initial volume of wash fluid is determined.15. The method of claim 13, wherein determining the flow rate of thewash fluid by one of a wash flow meter or a user-entered flow ratecomprises determining the flow rate of the wash fluid by the wash flowmeter, including capturing, via the controller, the flow rate of thewash flow meter and using the captured flow rate as the wash fluid flowrate.
 16. The method of claim 13, wherein determining the flow rate ofthe wash fluid by one of a wash flow meter or a user-entered flow ratecomprises determining the flow rate of the wash fluid by theuser-entered flow rate, including estimating a flow rate of a pumpdisposed downstream the wash fluid source and providing the estimate tothe controller.
 17. The method of claim 13, wherein the method occursafter closing, via the controller, a gas flow valve to stop upward fluidflow in an annulus of the well casing.
 18. The method of claim 13,wherein the method occurs before: (1) opening, via the controller, thewash valve to allow fluid from the wash fluid source into the annulus ofthe well casing; and (2) increasing, via the controller, the speed ofthe PC pump to begin cleaning the well casing.
 19. A method ofautomatically measuring an amount of wash fluid volume recovered from awell casing of a progressing cavity (PC) pump system during washing ofthe well casing, the wash fluid from a wash fluid source of an automatedwash system coupled to the PC pump system, the method comprising:initializing, via a controller of the PC pump system, a recovered washfluid volume value to zero upon opening a wash valve of the automatedwash system to allow wash fluid from the wash fluid source into anannulus of the well casing; determining, via the controller, a baselineflow rate via a flow line meter; upon expiration of a preset period oftime, measuring, via the controller, a current flow rate of fluid beingpumped from the well casing, the current flow rate equal to a surfaceflow line rate; calculating, via the controller, an incremental washfluid volume recovered; and determining, via the controller, a new washfluid volume recovered.
 20. The method of claim 19, further comprisingdetermining, via the controller, if a calculation period time hasexpired after determining a baseline flow rate via the flow line meter.21. The method of claim 19, wherein calculating, via the controller, anincremental wash fluid volume recovered includes subtracting thebaseline flow rate from the current flow rate.
 22. The method of claim19, wherein determining, via the controller, a new wash fluid volumerecovered includes adding the calculated incremental wash fluid volumerecovered to the previously calculated wash fluid volume recovered untiltermination by the controller of the PC pump system.
 23. A method ofautomatically washing a well casing of a progressing cavity (PC) pumpsystem, the method comprising: disabling, via a controller, a normalspeed control of a progressing cavity (PC) pump of the PC pump system;closing, via the controller, a gas flow valve to stop upward fluid flowin an annulus of the well casing; initiating, via the controller, a washfluid volume calculation process; opening, via the controller, a washvalve to allow fluid from the wash fluid source into the well casing;upon wash fluid accumulation within the annulus, increasing the speed ofthe pump, via the controller, to begin flushing the well casing; andclosing, via the controller, the wash valve.
 24. The method of claim 23,further comprising initiating, via the controller, a wash fluid volumerecovery calculation process after opening the wash valve.
 25. Themethod of claim 23, further comprising, after increasing the speed ofthe pump, maintaining the increased speed of the pump until one or moreof a preset wash time expires or an estimated wash volume has beenexceeded.
 26. The method of claim 23, further comprising reopening, viathe controller, the casing valve and resuming the normal speed controlof the PC pump after closing the wash valve.